﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Task1Form.aspx.cs" 
Inherits="ProtocolWorkflows.OutgoingTasksForms.Task1Form" 
MasterPageFile="~masterurl/default.master" %>


<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
    <SharePoint:UIVersionedContent UIVersion="4" runat="server">
        <contenttemplate>
        <SharePoint:CssRegistration Name="forms.css" runat="server"/>
    </contenttemplate>
    </SharePoint:UIVersionedContent>
</asp:Content>

<asp:Content ID="content2" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <asp:ScriptManagerProxy runat="server" ID="ProxyScriptManager">
    </asp:ScriptManagerProxy>


    <table width="800px" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td valign="top">
                <table cellspacing="0" cellpadding="4" border="0" width="100%">
                    <tr>
                        <td class="ms-vb">
                            &nbsp;
                        </td>
                    </tr>
                </table>
                <table border="0" width="100%">
                    <tr>
                        <td>
                            <table border="0" cellspacing="0"  cellpadding="0" width="100%">
                              

                                <tr>
                                    <td class="ms-formlabel" valign="top" nowrap="true" width="25%">
                                        <b><asp:Localize runat="server" ID="labelTitle"></asp:Localize></b>
                                    </td>
                                    <td class="ms-formbody" valign="top" width="75%">
                                        <SharePoint:FormField runat="server" ID="formTitle" ControlMode="Display" FieldName="Title" />
                                    </td>
                                </tr>


                                <tr>
                                    <td>&nbsp;</td>
                                    <td  align="left" valign="top" >
                                        <asp:HyperLink runat="server" Text="" ID="linkDocument" Target="_blank"></asp:HyperLink>
                                    </td>
                               </tr>

                                

                                <tr>
                                    <td class="ms-formlabel" valign="top" nowrap="true" width="25%">
                                        <b><asp:Localize runat="server" ID="labelApprovalComments"></asp:Localize></b>
                                    </td>
                                    <td class="ms-formbody" valign="top" width="75%">
                                        <asp:Panel runat="server" Height="80px" ScrollBars="Auto">
                                            <asp:Localize runat="server" ID="labelApprovalCommentsValue"></asp:Localize>
                                        </asp:Panel>
                                    </td>
                                </tr>
                                

                                <tr>
                                    <td colspan="2" style="width:5px">&nbsp;</td>
                                </tr>

                         
                                <tr>
                                    <td class="ms-formlabel" valign="top" nowrap="true" width="25%">
                                        <b><asp:Localize runat="server" ID="labelSubject"></asp:Localize></b>
                                    </td>
                                    <td class="ms-formbody" valign="top" width="75%">
                                        <asp:Localize runat="server" ID="labelSubjectValue"></asp:Localize>
                                    </td>
                                </tr>


                                 <tr>
                                    <td class="ms-formlabel" valign="top" nowrap="true" width="25%">
                                        <b><asp:Localize runat="server" ID="labelDocumentType"></asp:Localize></b>
                                    </td>
                                    <td class="ms-formbody" valign="top" width="75%">
                                        <asp:Localize runat="server" ID="labelDocumentTypeValue"></asp:Localize>
                                    </td>
                                </tr>

                                 <tr>
                                    <td class="ms-formlabel" valign="top" nowrap="true" width="25%">
                                        <b><asp:Localize runat="server" ID="labelRecipient"></asp:Localize></b>
                                    </td>
                                    <td class="ms-formbody" valign="top" width="75%">
                                        <asp:Localize runat="server" ID="labelRecipientValue"></asp:Localize>
                                    </td>
                                </tr>


                                 <tr>
                                    <td class="ms-formlabel" valign="top" nowrap="true" width="25%">
                                        <b><asp:Localize runat="server" ID="labelCategory"></asp:Localize></b>
                                    </td>
                                    <td class="ms-formbody" valign="top" width="75%">
                                        <asp:Localize runat="server" ID="labelCategoryValue"></asp:Localize>
                                    </td>
                                </tr>

                                 <tr>
                                    <td class="ms-formlabel" valign="top" nowrap="true" width="25%">
                                        <b><asp:Localize runat="server" ID="labelSubCategory"></asp:Localize></b>
                                    </td>
                                    <td class="ms-formbody" valign="top" width="75%">
                                        <asp:Localize runat="server" ID="labelSubCategoryValue"></asp:Localize>
                                    </td>
                                </tr>
                               

                              
                                 
                               <tr>
                                    <td class="ms-formlabel" valign="top">
                                        <b><asp:Localize runat="server" ID="labelComments"></asp:Localize></b>
                                    </td>
                        
                                    <td  class="ms-formbody">
                                        <asp:TextBox runat="server" ID="txtComments" TextMode="MultiLine" Rows="3" Width="300" ></asp:TextBox>
                                    </td>
                                     
                               </tr>
                                
                            </table>
                        </td>
                    </tr>
                </table>

                <asp:Panel runat="server" ID="panelReassign" Visible="false" >
                <table >
                <tr>
                    <td colspan="2">
                        
                        <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr>
                            <td class="ms-formlabel">
                                <b><asp:Localize runat="server" ID="labelForward"></asp:Localize></b>
                            </td>
                        </tr>
                                            
                        <tr>
                            <td  class="ms-formbody">
                                <SharePoint:PeopleEditor runat="server" ID="peopleForward" MultiSelect="false"  />
                                                
                            </td>
                        </tr>
                        </table>
                    </td>
                </tr>
                </table>
                </asp:Panel>

      

                <br /><br />
                <table cellspacing="0" cellpadding="4" border="0" width="100%">
                    <tr>
                        <td nowrap="nowrap" class="ms-vb">
                            <asp:Button Text="Save As Draft" runat="server" ID="btnSaveAsDraft" Width="150px"  CssClass="ms-ButtonHeightWidth" />
                        </td>
                        <td>
                            <asp:Button Text="Approve" runat="server" ID="btnApprove" CssClass="ms-ButtonHeightWidth" />
                        </td>

                        <td>
                            <asp:Button Text="Reject" runat="server" ID="btnReject" CssClass="ms-ButtonHeightWidth" />
                        </td>

                        <td>
                            <asp:Button Text="Accept" runat="server" ID="btnAccept" CssClass="ms-ButtonHeightWidth" Visible="false" />
                        </td>
                        <td>
                            <asp:Button Text="Reject" runat="server" ID="btnReturn" CssClass="ms-ButtonHeightWidth" />
                        </td>
                        <td>
                            <asp:Button Text="Reassign" runat="server" ID="btnReassign" CssClass="ms-ButtonHeightWidth"/>
                        </td>
                          <td>
                            <asp:Button Text="Send" runat="server" ID="btnSend" CssClass="ms-ButtonHeightWidth" />
                        </td>

                        <td nowrap="nowrap" class="ms-vb" width="99%">
                            <asp:Button Text="Cancel" runat="server" ID="btnCancel" CssClass="ms-ButtonHeightWidth" />
                        </td>
                    </tr>
                </table>

                <br />
            </td>
            <td width="1%" class="ms-vb" valign="top">&nbsp;</td>
        </tr>
    </table>


    <asp:HiddenField runat="server" ID="hiddenStage" />
</asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:ListFormPageTitle runat="server" />
    </asp:Content>

<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server" >
    <span class="die">
        <SharePoint:ListProperty Property="LinkTitle" runat="server" ID="ID_LinkTitle" />
        : </span>
    <SharePoint:ListItemProperty ID="ID_ItemProperty" MaxLength="40" runat="server" />
</asp:Content>
